function [ D ] = MakeDensity( Dcell, Clst )
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here
D = repmat(0, 1, max(size(Clst)) );
for i=1:max(size(Dcell));
    D(Clst==i) = Dcell{i};
end
end

